import { connect } from 'react-redux'
import { getAllTerms } from '../modules/answers'

import Answers from '../components/Answers'

const mapDispatchToProps={
	getAllTerms
}

const mapStateToProps=(state)=>{
	
  // console.log(state)
  return state
}

export default connect(mapStateToProps,mapDispatchToProps)(Answers)